package com.bsoft.gol.hcs.clinical.bean.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * Created by liwenl on 2020/7/31.
 */
public class QuestionTitleCascadeVo {

    private Byte optionType;
    private Byte addBoxFlag;
    private String optionContent;
    private String optionExplain;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date  createTime;
    private String titleId;
    private String pid;
    private String writeTips;
    private String optionId;
    private Byte writeFlag;

    private List<QuestionTitleCascadeVo> children;

    public List<QuestionTitleCascadeVo> getChildren() {
        return children;
    }

    public void setChildren(List<QuestionTitleCascadeVo> children) {
        this.children = children;
    }

    public Byte getOptionType() {
        return optionType;
    }

    public void setOptionType(Byte optionType) {
        this.optionType = optionType;
    }

    public Byte getAddBoxFlag() {
        return addBoxFlag;
    }

    public void setAddBoxFlag(Byte addBoxFlag) {
        this.addBoxFlag = addBoxFlag;
    }

    public String getOptionContent() {
        return optionContent;
    }

    public void setOptionContent(String optionContent) {
        this.optionContent = optionContent;
    }

    public String getOptionExplain() {
        return optionExplain;
    }

    public void setOptionExplain(String optionExplain) {
        this.optionExplain = optionExplain;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getTitleId() {
        return titleId;
    }

    public void setTitleId(String titleId) {
        this.titleId = titleId;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getWriteTips() {
        return writeTips;
    }

    public void setWriteTips(String writeTips) {
        this.writeTips = writeTips;
    }

    public String getOptionId() {
        return optionId;
    }

    public void setOptionId(String optionId) {
        this.optionId = optionId;
    }

    public Byte getWriteFlag() {
        return writeFlag;
    }

    public void setWriteFlag(Byte writeFlag) {
        this.writeFlag = writeFlag;
    }
}
